package com.atguigu.product.service;

import com.atguigu.common.utils.PageUtils;
import com.atguigu.product.entity.SpuInfoEntity;
import com.atguigu.product.vo.spvsavevo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * spu信息
 *
 * @author show me the code
 * @email 2777148094@qq.com
 * @date 2022-08-25 09:24:21
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo vo);


    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    /**
     * 商品上架
     *
     * @param spuId
     */
    void up(Long spuId);
}

